package com.sgb.kjwl.view.ui.activity.transport.owner;

import androidx.databinding.DataBindingUtil;

import com.sgb.kjwl.AppActivity;
import com.sgb.kjwl.R;
import com.sgb.kjwl.databinding.ActivityTransportProofPictureBinding;

/**
 * Time:2021/2/3
 * Author:黄淋
 * Description:发车凭证和收货凭证
 */
public class TransportProofPictureActivity extends AppActivity {
    private ActivityTransportProofPictureBinding mBinding;

    private boolean mIsStart;//发车凭证

    @Override
    protected void initView() {
        mBinding = DataBindingUtil.setContentView(this, R.layout.activity_transport_proof_picture);
        mBinding.actionBar.setOnBackClickListener(view -> finish());
        mIsStart = getIntent().getBooleanExtra("isStart", true);
        mBinding.actionBar.setTitle(mIsStart ? "发车凭证" : "收货凭证");
        mBinding.tvTips.setText(mIsStart ? "发车凭证由司机确认发车时上传" : "收货凭证由货主确认收货时上传");
    }
}
